import request from '@/utils/request'
// 获取用户信息资料
export const getUser = () => {
  return request.get('/user')
}

// 退出
export const loginOut = () => {
  return request.post('/user/logout')
}
// 城市
export const city = level => {
  return request.get('/area/city', {
    params: {
      level: 1
    }
  })
}
